package cn.net.mysoft.account.svr.impl;

import cn.net.mysoft.account.api.entity.AccountDetailEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AcountDetailDao {
    List<AccountDetailEntity> getAccountDetail(
            @Param("uid")String uid,
            @Param("btime")String btime,
            @Param("etime")String etime,
            @Param("offset")int offset,
            @Param("count")int count);

    AccountDetailEntity getAccoutDetailByVno(@Param("uid")String uid,@Param("vno")String vno);


    List<AccountDetailEntity> getRefundAccountDetailByVno(@Param("uid")String uid,@Param("vno")String vno);

    int insert(AccountDetailEntity itm);
}
